import * as types from '../action-types';

const initIpInfo = {
  address: '', // 服务器地址
  cusPort: '', // MBSE服务器端口
  mrPort: '', // M-Require服务器端口
  tyPort: '', // 同元服务器端口
};
export function ipInfoSlice(state = initIpInfo, action) {
  switch (action.type) {
    case types.IP_INFO:
      return action.data;
    default:
      return state;
  }
}
